﻿using Lhz.Common.Service;
using Lhz.Pp.Business;
using Lhz.Pp.Entity.Database;
using Lhz.Pp.Interface;
using System;

namespace Lhz.Pp.Service
{
    public class ServiceUser : EntityService<UserProxy, Guid, User>, IServiceUser
    {
        public ServiceUser() : base(new UserProxy())
        {

        }

        public User QueryByUsernameAndPassword(string username, string password)
        {
            return entityProxy.QueryByUsernameAndPassword(username, password);
        }
    }
}
